(electric-help-command-loop): Use equal to compare
authorRichard M. Stallman <rms@gnu.org>
Thu, 3 Jun 1993 03:50:05 +0000 (03:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 3 Jun 1993 03:50:05 +0000 (03:50 +0000)
lists of events.

lisp/ehelp.el

index baa2a052181fd56c80b1ce1bec045f466584f5b1..00e16b657c1ae52f281e5a0787fd00f39b9194c5 100644 (file)
@@ -127,7 +127,8 @@ BUFFER is put into `default-major-mode' (or `fundamental-mode') when we exit"
   (catch 'exit
     (if (pos-visible-in-window-p (point-max))
        (progn (message "<<< Press Space to bury the help buffer >>>")
-              (if (eq (setq unread-command-events (list (read-event))) ?\  )
+              (if (equal (setq unread-command-events (list (read-event)))
+                         '(?\ ))
                   (progn (setq unread-command-events nil)
                          (throw 'exit t)))))
     (let (up down both neither